/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package syncmellariusnote.helpers;

import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;

/**
 *
 * @author Vitor
 */
public class FileSystemHelper {

    public static void copyFileToDirectory(File src, File dest) throws IOException {
        System.out.println(src);
        System.out.println(dest);
        
        File source = src;
        File desti = dest;
        FileUtils.copyFile(source, desti);

    }
    public static void deleteFile(File src) throws IOException {
        src.delete();
    }

}
